export type Subscribe = (...args: any[]) => any
export interface Observable {
  next?: (value: any) => any
  error?: (err: any) => any
  complete?: () => void
}

export type ObserverOrNext = Observable | ((value: any) => any)